package com.coconet.gas.vo.dw;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "taskinfos")
public class Taskinfos implements Serializable {
    private String taskid;

    private String ip;

    private String taskinfo;

    private String start;

    private String end;

    private static final long serialVersionUID = 1L;

    /**
     * @return taskid
     */
    public String getTaskid() {
        return taskid;
    }

    /**
     * @param taskid
     */
    public void setTaskid(String taskid) {
        this.taskid = taskid;
    }

    /**
     * @return ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * @param ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * @return taskinfo
     */
    public String getTaskinfo() {
        return taskinfo;
    }

    /**
     * @param taskinfo
     */
    public void setTaskinfo(String taskinfo) {
        this.taskinfo = taskinfo;
    }

    /**
     * @return start
     */
    public String getStart() {
        return start;
    }

    /**
     * @param start
     */
    public void setStart(String start) {
        this.start = start;
    }

    /**
     * @return end
     */
    public String getEnd() {
        return end;
    }

    /**
     * @param end
     */
    public void setEnd(String end) {
        this.end = end;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", taskid=").append(taskid);
        sb.append(", ip=").append(ip);
        sb.append(", taskinfo=").append(taskinfo);
        sb.append(", start=").append(start);
        sb.append(", end=").append(end);
        sb.append("]");
        return sb.toString();
    }
}